import request from '@/utils/request'

// 查询待选课程管理列表
export function listCourse_wait_selection(query) {
  return request({
    url: '/course/course_wait_selection/list',
    method: 'get',
    params: query
  })
}

// 查询待选课程管理详细
export function getCourse_wait_selection(selectId) {
  return request({
    url: '/course/course_wait_selection/' + selectId,
    method: 'get'
  })
}

// 新增待选课程管理
export function addCourse_wait_selection(data) {
  return request({
    url: '/course/course_wait_selection',
    method: 'post',
    data: data
  })
}

// 修改待选课程管理
export function updateCourse_wait_selection(data) {
  return request({
    url: '/course/course_wait_selection',
    method: 'put',
    data: data
  })
}

// 删除待选课程管理
export function delCourse_wait_selection(selectId) {
  return request({
    url: '/course/course_wait_selection/' + selectId,
    method: 'delete'
  })
}

// 导入待选课程管理
export function importCourse_wait_selection() {
  return request({
    url: '/course/course_wait_selection/import',
    method: 'get'
  })
}
